AmCharts.addInitHandler(function(e){"use strict";if(e.responsive===undefined||e.responsive.ready===true||e.responsive.enabled!==true)return;var i=e.version.split(".");if(i.length<2||Number(i[0])<3||Number(i[0])===3&&Number(i[1])<13)return;var a=e.responsive;a.ready=true;a.currentRules={};a.overridden=[];if(e.type==="stock"){if(0>e.panelsSettings.startDuration){a.startDuration=e.panelsSettings.startDuration;e.panelsSettings.startDuration=0}}else{if(undefined!==e.startDuration&&0<e.startDuration){a.startDuration=e.startDuration;e.startDuration=0}}var t={pie:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:false}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:false}}},{maxWidth:150,overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:false}}},{maxHeight:150,overrides:{legend:{enabled:false}}},{maxWidth:400,overrides:{labelsEnabled:false}},{maxWidth:100,overrides:{legend:{enabled:false}}},{maxHeight:350,overrides:{pullOutRadius:0}},{maxHeight:200,overrides:{titles:{enabled:false},labelsEnabled:false}},{maxWidth:60,overrides:{autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",innerRadius:0,balloon:{enabled:false},legend:{enabled:false}}},{maxHeight:60,overrides:{marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",innerRadius:0,balloon:{enabled:false},legend:{enabled:false}}}],funnel:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:false}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:false}}},{maxWidth:150,overrides:{legend:{enabled:false}}},{maxHeight:500,legendPosition:"top",overrides:{legend:{enabled:false}}},{maxHeight:500,legendPosition:"bottom",overrides:{legend:{enabled:false}}},{maxHeight:150,overrides:{legend:{enabled:false}}},{maxWidth:400,overrides:{labelsEnabled:false,marginLeft:10,marginRight:10,legend:{enabled:false}}},{maxHeight:350,overrides:{pullOutRadius:0,legend:{enabled:false}}},{maxHeight:300,overrides:{titles:{enabled:false}}}],radar:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:false}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:false}}},{maxWidth:150,overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:false}}},{maxHeight:150,overrides:{legend:{enabled:false}}},{maxWidth:300,overrides:{labelsEnabled:false}},{maxWidth:200,overrides:{autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",titles:{enabled:false},valueAxes:{labelsEnabled:false,radarCategoriesEnabled:false}}},{maxHeight:300,overrides:{labelsEnabled:false}},{maxHeight:200,overrides:{autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,radius:"50%",titles:{enabled:false},valueAxes:{radarCategoriesEnabled:false}}},{maxHeight:100,overrides:{valueAxes:{labelsEnabled:false}}}],gauge:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:false}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:false}}},{maxWidth:150,overrides:{legend:{enabled:false}}},{maxHeight:500,legendPosition:"top",overrides:{legend:{enabled:false}}},{maxHeight:500,legendPosition:"bottom",overrides:{legend:{enabled:false}}},{maxHeight:150,overrides:{legend:{enabled:false}}},{maxWidth:200,overrides:{titles:{enabled:false},allLabels:{enabled:false},axes:{labelsEnabled:false}}},{maxHeight:200,overrides:{titles:{enabled:false},allLabels:{enabled:false},axes:{labelsEnabled:false}}}],serial:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:false}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:false}}},{maxWidth:100,overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:false}}},{maxHeight:100,overrides:{legend:{enabled:false}}},{maxWidth:350,overrides:{autoMarginOffset:0,graphs:{hideBulletsCount:10}}},{maxWidth:350,rotate:false,overrides:{marginLeft:10,marginRight:10,valueAxes:{ignoreAxisWidth:true,inside:true,title:"",showFirstLabel:false,showLastLabel:false},graphs:{bullet:"none"}}},{maxWidth:350,rotate:true,overrides:{marginLeft:10,marginRight:10,categoryAxis:{ignoreAxisWidth:true,inside:true,title:""}}},{maxWidth:200,rotate:false,overrides:{marginLeft:10,marginRight:10,marginTop:10,marginBottom:10,categoryAxis:{ignoreAxisWidth:true,labelsEnabled:false,inside:true,title:"",guides:{inside:true}},valueAxes:{ignoreAxisWidth:true,labelsEnabled:false,axisAlpha:0,guides:{label:""}},legend:{enabled:false}}},{maxWidth:200,rotate:true,overrides:{chartScrollbar:{scrollbarHeight:4,graph:"",resizeEnabled:false},categoryAxis:{labelsEnabled:false,axisAlpha:0,guides:{label:""}},legend:{enabled:false}}},{maxWidth:100,rotate:false,overrides:{valueAxes:{gridAlpha:0}}},{maxWidth:100,rotate:true,overrides:{categoryAxis:{gridAlpha:0}}},{maxHeight:300,overrides:{autoMarginOffset:0,graphs:{hideBulletsCount:10}}},{maxHeight:200,rotate:false,overrides:{marginTop:10,marginBottom:10,categoryAxis:{ignoreAxisWidth:true,inside:true,title:"",showFirstLabel:false,showLastLabel:false}}},{maxHeight:200,rotate:true,overrides:{marginTop:10,marginBottom:10,valueAxes:{ignoreAxisWidth:true,inside:true,title:"",showFirstLabel:false,showLastLabel:false},graphs:{bullet:"none"}}},{maxHeight:150,rotate:false,overrides:{titles:{enabled:false},chartScrollbar:{scrollbarHeight:4,graph:"",resizeEnabled:false},categoryAxis:{labelsEnabled:false,ignoreAxisWidth:true,axisAlpha:0,guides:{label:""}}}},{maxHeight:150,rotate:true,overrides:{titles:{enabled:false},valueAxes:{labelsEnabled:false,ignoreAxisWidth:true,axisAlpha:0,guides:{label:""}}}},{maxHeight:100,rotate:false,overrides:{valueAxes:{labelsEnabled:false,ignoreAxisWidth:true,axisAlpha:0,gridAlpha:0,guides:{label:""}}}},{maxHeight:100,rotate:true,overrides:{categoryAxis:{labelsEnabled:false,ignoreAxisWidth:true,axisAlpha:0,gridAlpha:0,guides:{label:""}}}},{maxWidth:100,overrides:{autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,categoryAxis:{labelsEnabled:false},valueAxes:{labelsEnabled:false}}},{maxHeight:100,overrides:{autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,categoryAxis:{labelsEnabled:false},valueAxes:{labelsEnabled:false}}}],xy:[{maxWidth:550,legendPosition:"left",overrides:{legend:{enabled:false}}},{maxWidth:550,legendPosition:"right",overrides:{legend:{enabled:false}}},{maxWidth:100,overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"top",overrides:{legend:{enabled:false}}},{maxHeight:350,legendPosition:"bottom",overrides:{legend:{enabled:false}}},{maxHeight:100,overrides:{legend:{enabled:false}}},{maxWidth:250,overrides:{autoMarginOffset:0,autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,valueAxes:{inside:true,title:"",showFirstLabel:false,showLastLabel:false},legend:{enabled:false}}},{maxWidth:150,overrides:{valueyAxes:{labelsEnabled:false,axisAlpha:0,gridAlpha:0,guides:{label:""}}}},{maxHeight:250,overrides:{autoMarginOffset:0,autoMargins:false,marginTop:0,marginBottom:0,marginLeft:0,marginRight:0,valueAxes:{inside:true,title:"",showFirstLabel:false,showLastLabel:false},legend:{enabled:false}}},{maxWidth:150,overrides:{valueyAxes:{labelsEnabled:false,axisAlpha:0,gridAlpha:0,guides:{label:""}}}}],stock:[{maxWidth:500,overrides:{dataSetSelector:{position:"top"},periodSelector:{position:"bottom"}}},{maxWidth:400,overrides:{dataSetSelector:{selectText:"",compareText:""},periodSelector:{periodsText:"",inputFieldsEnabled:false}}}],map:[{maxWidth:200,overrides:{zoomControl:{zoomControlEnabled:false},smallMap:{enabled:false},valueLegend:{enabled:false},dataProvider:{areas:{descriptionWindowWidth:160,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowWidth:160,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowWidth:160,descriptionWindowRight:10,descriptionWindowTop:10}}}},{maxWidth:150,overrides:{dataProvider:{areas:{descriptionWindowWidth:110,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowWidth:110,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowWidth:110,descriptionWindowLeft:10,descriptionWindowRight:10}}}},{maxHeight:200,overrides:{zoomControl:{zoomControlEnabled:false},smallMap:{enabled:false},valueLegend:{enabled:false},dataProvider:{areas:{descriptionWindowHeight:160,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowHeight:160,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowHeight:160,descriptionWindowRight:10,descriptionWindowTop:10}}}},{maxHeight:150,overrides:{dataProvider:{areas:{descriptionWindowHeight:110,descriptionWindowRight:10,descriptionWindowTop:10},images:{descriptionWindowHeight:110,descriptionWindowRight:10,descriptionWindowTop:10},lines:{descriptionWindowHeight:110,descriptionWindowLeft:10,descriptionWindowRight:10}}}}]};var r=function(e){return e===null||e===undefined};var n=function(e){return!r(e)&&Object.prototype.toString.call(e)==="[object Array]"};var l=function(e){return e!==null&&typeof e==="object"};var s=function(e,i){for(var a=0;a<e.length;a++){if(l(e[a])&&e[a].id===i)return e[a]}return undefined};var d=function(e){if(!l(e)){return e}if(n(e)){return e.slice()}var i={};for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){i[a]=d(e[a])}}return i};var o="{F0578839-A214-4E2D-8D1B-44941ECE8332}_";var g={};var f=function(e,i,t){var r=o+i;if(!(r in e)){e[r]=i in e?e[i]:g}e[i]=d(t);a.overridden.push({object:e,property:i})};var h=function(e,i){var a=e[o+i];if(a===g){delete e[i]}else{e[i]=a}};var u=function(){while(a.overridden.length>0){var e=a.overridden.pop();h(e.object,e.property)}};var m=function(){e.dataChanged=true;if(e.type!=="xy"){e.marginsUpdated=false}e.zoomOutOnDataUpdate=false;e.validateNow(true);h(e,"zoomOutOnDataUpdate");b()};var b=function(){if(a.startDuration){if(e.type==="stock"){e.panelsSettings.startDuration=a.startDuration;for(var i=0;i<e.panels.length;i++){e.panels[i].startDuration=a.startDuration;e.panels[i].animateAgain()}}else{e.startDuration=a.startDuration;if(e.animateAgain!==undefined)e.animateAgain()}delete a.startDuration}};var v=function(e,i){if(r(i)){return}for(var a in i){if(!Object.prototype.hasOwnProperty.call(i,a)){continue}var t=e[a];var d=i[a];if(r(t)){if(a!=="periodSelector"&&a!=="dataSetSelector")f(e,a,d);continue}if(n(t)){if(n(d)){if(t.length>0&&!l(t[0])||d.length>0&&!l(d[0])){f(e,a,d);continue}var o=true;for(var g=0;g<d.length;g++){if(r(d[g])||r(d[g].id)){o=false;break}}if(o){for(var h=0;h<d.length;h++){var u=s(t,d[h].id);if(u===undefined){throw'could not find element to override in "'+a+'" with ID: '+d[h].id}v(u,d[h])}continue}if(d.length<=t.length){for(var m=0;m<d.length;m++){v(t[m],d[m])}continue}throw"too many index-based overrides specified for object array property: "+a}if(l(d)){for(var b=0;b<t.length;b++){v(t[b],d)}continue}throw"non-object override detected for array property: "+a}if(l(t)){v(t,d);continue}f(e,a,d)}};var p=function(){var i=e.divRealWidth;var t=e.divRealHeight;if(i===0||t===0)return;var n=false;for(var l=0;l<a.rules.length;l++){var s=a.rules[l];var d=(r(s.minWidth)||s.minWidth<=i)&&(r(s.maxWidth)||s.maxWidth>=i)&&(r(s.minHeight)||s.minHeight<=t)&&(r(s.maxHeight)||s.maxHeight>=t)&&(r(s.rotate)||s.rotate===true&&e.rotate===true||s.rotate===false&&(r(e.rotate)||e.rotate===false))&&(r(s.legendPosition)||!r(e.legend)&&!r(e.legend.position)&&e.legend.position===s.legendPosition);if(d){if(r(a.currentRules[l])){a.currentRules[l]=true;n=true}}else if(!r(a.currentRules[l])){a.currentRules[l]=undefined;n=true}}if(!n){b();return}u();for(var o in a.currentRules){if(!Object.prototype.hasOwnProperty.call(a.currentRules,o)){continue}if(!r(a.currentRules[o])){if(r(a.rules[o])){throw"null or undefined rule in index: "+o}v(e,a.rules[o].overrides)}}m()};t.gantt=t.serial;if(!n(a.rules)){a.rules=t[e.type]}else if(a.addDefaultRules!==false){a.rules=t[e.type].concat(a.rules)}f(e,"zoomOutOnDataUpdate",e.zoomOutOnDataUpdate);e.addListener("resized",p);e.addListener("init",p)},["pie","serial","xy","funnel","radar","gauge","gantt","stock","map"]);
//# sourceMappingURL=responsive.map.js